#include <iostream>
using namespace std;

class CRectangle
{
public:
	int h, w;
	void init(int _w, int _h);
	int area();
	int perimeter();
};

void CRectangle::init(int _w, int _h) {
	h = _h;
	w = _w;
}

int CRectangle::area()
{
	return h * w;
}

int CRectangle::perimeter()
{
	return 2*(h + w);
}

int main()
{
	int w, h;
	CRectangle r;
	cin >> w >> h;
	r.init(w, h);
	cout << "It's area is " << r.area() << endl;
	cout << "It's perimeter is " << r.perimeter() << endl;
	cout << sizeof(CRectangle) << endl;
	return 0;
}